package com.google.code.cisx.client.gadgets.deprecated;

import com.google.code.cisx.client.model.Gadget;
import com.google.code.cisx.client.model.GadgetClass;
import com.google.code.cisx.client.view.GoogleMap;

public class GoogleMapsGadget extends Gadget {

  public static class Class extends GadgetClass {
    public Class() {
      super("Google Maps", false);
    }

    public Gadget newGadget() {
      return new GoogleMapsGadget(this);
    }
  }

  private GoogleMap map = new GoogleMap();

  protected GoogleMapsGadget(Class c) {
    super(c);
    initWidget(map);
    map.setCenter(37.4419, -122.1419);
  }

}
